<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>v-pre & v-cloak & v-once实例</title>
    <script type="text/javascript" src="../assets/js/vue.js"></script>
</head>
<body>
<h1>v-pre & v-cloak & v-once实例</h1>
<hr>
<div id="app">
    <p>{{message}}</p>
    <div v-pre>{{message}}</div>
    <div v-once>{{message}}</div>
    <input type="text" v-model="message">
    <div>{{message}}</div>
    <div v-cloak>渲染完成后加载</div>

</div>
<script type="text/javascript">
    var app = new Vue({
      el:'#app',
      data:{
        message:'hello world!'
      }
    })
</script>
</body>
</html>